package com.cat.common.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 搜索封装类
 *
 * @author pangu
 */
@Data
@ApiModel(description = "搜索条件")
public class Search implements Serializable {

    @ApiModelProperty(value = "ids")
    private List<Integer> ids;

    @ApiModelProperty(value = "关键词")
    private String keyword;

    @ApiModelProperty(value = "搜索字段")
    private String searchField;

    @ApiModelProperty(value = "搜索值")
    private String searchValue;

    @ApiModelProperty(value = "开始日期")
    private String beginTime;

    @ApiModelProperty(value = "结束日期")
    private String endTime;
}
